#ifndef _SKB_H_
#define _SKB_H_
#include <stdint.h>
//skb v2.0
typedef struct SKB_NODE
{
    struct SKB_NODE* next;
    uint32_t len;
    char* data;
} SKB_NODE ;

typedef struct 
{
    SKB_NODE* first_elm;
    SKB_NODE* send_not_ack;
    SKB_NODE* wait_to_send;
    SKB_NODE* send_buffer_tail;

    uint32_t send_not_ack_size;
    uint32_t total_send_size;
    uint32_t send_buffer_size;
    uint32_t window_size;

} SKB_HEAD ;



#endif